<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%-- <%@ taglib prefix="s" uri="/struts-tags" %> --%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ page import="com.kh.pajx.sop.util.common.DicUtil"%>
<script src="${pageContext.request.contextPath}/dwz/chart/raphael.js"
	type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/dwz/chart/g.raphael.js"
	type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/dwz/chart/g.bar.js"
	type="text/javascript"></script>

<script type="text/javascript">
function show_tea_debug_search(){
	var $sclId = $("#show_tea_debug", navTab.getCurrentPanel());
	if(check_tea_debug_sclId()){ 
		$("#show_tea_debug", navTab.getCurrentPanel()).click();
	 } 
}
function check_tea_debug_sclId(){
	var sclId = document.getElementById('show_tea_debug_sclId').value;
	if(sclId.length==0){
		alertMsg.warn("请选择学校！");
		return false;
	}
	return true;
}
</script>
<div class="pageHeader">
	<form onsubmit="return divSearch(this, 'show_teaAttDebug_content');"
		action="sop_list.action?status=2" method="post">
		<%-- <input name="sop_status" value="${status }"  type="hidden"/> --%>
		<div class="searchBar">
			<!--用于回显  -->
			<div class="searchBar nowrap">
							<p>
								<label>学校名称：</label> <input class="required"
									id="show_tea_debug_sclId" type="hidden" name="model.sclId">
								<a title="点击选择学校" href="school_lookup.action?numPerPage=10"
									lookupGroup="model"
									callback="scl_lookup_callback('show_tea_debug_sclId','show_tea_debug_graId','show_tea_debug_clsId')">
									<input id="show_tea_debug_sclName" type="text" class="required"
									name="model.sclName" readonly="true">
								</a>
							</p>
						<!-- <td><input type="radio" name="r1" />教师
		                       <input type="radio" name="r1" />学生</td> -->
						<!-- <td>
							<p>
								<label>年级：</label> <select id="show_tea_debug_graId" class="combox"
									name="pos_graId" ref="show_debug_clsId"
									refUrl="class_list.action?graId={value}">
									<option value="">---请选择---</option>
								</select>
							</p>
						</td>
						<td>
							<p>
								<label>班级：</label> <select id="show_tea_debug_clsId" class="combox"
									name="pos_clsId">
									<option value="">---请选择---</option>
								</select>
							</p>
						</td> -->
						<p>
				<label>姓名：</label><input name="debug_stuName" type="text"/></p>
				<p>
				<label>卡号：</label><input name="debug_stuNo" type="text"/></p>
					<p><label>内码(射频码):</label> <input type="text" name="pos_cardSn"></p>
							<p style="width: 260px;">
								<label>刷卡日期：</label> <input type="text" style="width: 70px;"
									readonly="readonly" class="date" name="pos_startDate"
									value="${startDate }" dateFmt="yyyy-MM-dd" minDate="2010-01-01"
									maxDate="${currentDate }"> <span class="limit">-</span>
								<input type="text" style="width: 70px;" readonly="readonly"
									class="date" name="pos_endDate" value="${endDate }"
									dateFmt="yyyy-MM-dd" minDate="2010-01-01"
									maxDate="${currentDate }">
							</p>

							<ul>
								<li style="display: none;">
									<div class="buttonActive">
										<div class="buttonContent">
											<button id="show_tea_debug" type="submit">检索</button>
										</div>
									</div>
								</li>
								<li><a class="button" href="javascript:show_tea_debug_search()"><span>检索</span></a></li>
							</ul>

			</div>
		</div>
	</form>
</div>
<div id="show_teaAttDebug_content"></div>
